﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Model
{
    public class Staffs
    {
        private int _staffID;

        public int StaffID
        {
            get { return _staffID; }
            set { _staffID = value; }
        }

        private int _roleID;

        public int RoleID
        {
            get { return _roleID; }
            set { _roleID = value; }
        }

        private string _roleName;

        public string RoleName
        {
            get { return _roleName; }
            set { _roleName = value; }
        }

        private string _userName;

        public string UserName
        {
            get { return _userName; }
            set { _userName = value; }
        }

        private string _password;

        public string Password
        {
            get { return _password; }
            set { _password = value; }
        }

        private string _staffName;

        public string StaffName
        {
            get { return _staffName; }
            set { _staffName = value; }
        }

        private string _imei;

        public string IMEI
        {
            get { return _imei; }
            set { _imei = value; }
        }

        private string _address;

        public string Address
        {
            get { return _address; }
            set { _address = value; }
        }

        private System.DateTime _birthDate;

        public System.DateTime BirthDate
        {
            get { return _birthDate; }
            set { _birthDate = value; }
        }

        private bool _gender;

        public bool Gender
        {
            get { return _gender; }
            set { _gender = value; }
        }

        private string _noNumber;

        public string NoNumber
        {
            get { return _noNumber; }
            set { _noNumber = value; }
        }

        private string _phoneNumber;

        public string PhoneNumber
        {
            get { return _phoneNumber; }
            set { _phoneNumber = value; }
        }

        private System.DateTime _startWorkDate;

        public System.DateTime StartWorkDate
        {
            get { return _startWorkDate; }
            set { _startWorkDate = value; }
        }

        private System.DateTime _endWorkDate;

        public System.DateTime EndWorkDate
        {
            get { return _endWorkDate; }
            set { _endWorkDate = value; }
        }

        private System.DateTime _createDate;

        public System.DateTime CreateDate
        {
            get { return _createDate; }
            set { _createDate = value; }
        }

        private bool _isDeleted;

        public bool IsDeleted
        {
            get { return _isDeleted; }
            set { _isDeleted = value; }
        }

        private bool _enable;

        public bool Enable
        {
            get { return _enable; }
            set { _enable = value; }
        }

        /// <summary>
        /// Staffs
        /// </summary>
        /// <param name="staffID"></param>
        public Staffs(int staffID)
        {
            StaffID = staffID;
        }

        /// <summary>
        /// Staffs
        /// </summary>
        /// <param name="staffID"></param>
        /// <param name="roleID"></param>
        /// <param name="userName"></param>
        /// <param name="address"></param>
        /// <param name="birthDate"></param>
        /// <param name="gender"></param>
        /// <param name="noNumber"></param>
        /// <param name="phoneNumber"></param>
        /// <param name="startWorkDate"></param>
        /// <param name="endWorkDate"></param>
        /// <param name="createDate"></param>
        /// <param name="isDeleted"></param>
        /// <param name="enable"></param>
        /// <param name="password"></param>
        /// <param name="staffName"></param>
        public Staffs(int staffID, int roleID, string userName, string address, System.DateTime birthDate, bool gender, string noNumber, string phoneNumber, System.DateTime startWorkDate, System.DateTime endWorkDate, System.DateTime createDate, bool isDeleted, bool enable, string password, string staffName, string imei)
        {
            StaffID = staffID;
            RoleID = roleID;
            UserName = userName;
            Address = address;
            BirthDate = birthDate;
            Gender = gender;
            NoNumber = noNumber;
            PhoneNumber = phoneNumber;
            StartWorkDate = startWorkDate;
            EndWorkDate = endWorkDate;
            CreateDate = createDate;
            IsDeleted = isDeleted;
            Enable = enable;
            Password = password;
            StaffName = staffName;
            IMEI = imei;
        }

        /// <summary>
        /// Staffs
        /// </summary>
        public Staffs()
        {
        }
    }
}
